Skip to content

💄 Prevent Tag component stretching#1290

Merged
arkadiy93 merged 1 commit into
mainfrom
fix/tagSizing
Jun 4, 2026
Merged

💄 Prevent Tag component stretching#1290
arkadiy93 merged 1 commit into
mainfrom
fix/tagSizing

Conversation

@arkadiy93

Copy link
Copy Markdown
Contributor
image

Tag component stretches unnecessarily

Copilot AI review requested due to automatic review settings June 3, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prevents the Tag molecule from stretching to fill its parent container by making the container shrink-wrap its contents, improving visual consistency in layouts (notably when used as a grid item).

Changes:

  • Add width: fit-content; to the Tag container styles to avoid unnecessary horizontal stretching.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 100% (🎯 100%) 17400 / 17400
🔵 Statements 100% (🎯 100%) 17400 / 17400
🔵 Functions 100% (🎯 100%) 1278 / 1278
🔵 Branches 100% (🎯 100%) 4449 / 4449
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/molecules/Tag/Tag.tsx 100% 100% 100% 100%
Generated in workflow #2319 for commit 2cddacd by the Vitest Coverage Report Action

@arkadiy93
arkadiy93 marked this pull request as ready for review June 3, 2026 13:57
@arkadiy93
arkadiy93 requested a review from a team as a code owner June 3, 2026 13:57
@arkadiy93
arkadiy93 requested a review from aslakihle June 3, 2026 13:57
@arkadiy93
arkadiy93 merged commit 0ef358a into main Jun 4, 2026
12 checks passed
@arkadiy93
arkadiy93 deleted the fix/tagSizing branch June 4, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants